package DAL.DAO;

import DAL.DTO.AdresseDTO;
import DAL.DTO.ClientDTO;
import java.util.Vector;
import ERRORS.ClientExistantException;
import ERRORS.ClientInexistantException;

public abstract class ClientDAO {

	public abstract ClientDTO rechercher(long numeroClient) 
                throws ClientInexistantException;
	public abstract ClientDTO rechercher(String numeroTVA) 
                throws ClientInexistantException;
	public abstract Vector<ClientDTO> rechercher(String nom, String prenom) 
                throws ClientInexistantException;
	public abstract Vector<ClientDTO> rechercher(AdresseDTO adresse) 
                throws ClientInexistantException;
	public abstract long enregistrer(ClientDTO personne) 
                throws ClientExistantException;
	public abstract ClientDTO modifier(ClientDTO personne)
                throws ClientInexistantException;
	public abstract void supprimer(ClientDTO personne)
                throws ClientInexistantException;
	public abstract Vector<ClientDTO> liste();
	public abstract int nombreParticuliers();
}